package com.middlegroup.subjectpay.service;

import com.alipay.api.AlipayApiException;

import java.math.BigDecimal;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author
 * @since 2019-08-07
 */
public interface AlipayService {
     /**
      * 支付宝创建订单
      * */
     public String createAlipay(String merchantBillNo, BigDecimal amount, String ip, String subject, String returnUrl, String state, String notifyUrl, String transCurrency);

     /**
      * 支付宝退款
      * */
     public String refundAlipay(String merchantBillNo, String billNo, BigDecimal refundAmount, String remark, String notifyUrl, String refundCurrency, String outRequestNo) throws AlipayApiException;

}
